package com.yuke.cloud.service.uac.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * The class User register dto.
 *
 * @author
 */
@Data
@ApiModel(value = "用户注册Dto")
public class UserRegisterDto implements Serializable {

    private static final long serialVersionUID = -8019925037057525804L;
    /**
     * 用户名
     */
    @ApiModelProperty(value = "登录名")
    private String loginName;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String mobileNo;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码")
    private String loginPwd;

    /**
     * 确认密码
     */
    @ApiModelProperty(value = "确认密码")
    private String confirmPwd;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 注册token
     */
    @ApiModelProperty(value = "注册渠道")
    private String registerSource;

    // 注册时增加推荐人或推荐店铺ID
    /**
     * 推荐店铺ID
     */
    @ApiModelProperty(value = "推荐店铺ID")
    private Long referenceShopId;

    /**
     * 推荐人ID
     */
    @ApiModelProperty(value = "推荐人ID")
    private Long referenceId;

    @ApiModelProperty(value = "推荐人ID")
    private String address;

    @ApiModelProperty(value = "推荐人ID")
    private Byte employeeType;

    @ApiModelProperty(value = "部门ID")
    private Long groupId;

    private String openId;
}
